package com.zuipin.vo;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

/**
 * @description : 新增修改购物车规则
 * @author : wuhaijun
 * @date : 2017年4月26日 下午1:43:36
 */
public class AddCartRuleVo {
	
	private Long		id;							// ID
	
	private String		showName;					// 名称
	
	private String		showType;					// 促销类型
	private BigDecimal	amount;						// 面额 减金额的值
	
	private String		device;						// 设备,pc,wap...
	
	private String		startTime;					// 开始时间
	
	private String		endTime;					// 结束时间
	
	private String		limitMemberLevel;			// 限制会员等级
	
	private String		proTypeLimit;				// 商品类型限制,不限制 ：NO_LIMIT,限制商品:LIMIT_PRO,限制品类:LIMIT_CAT,限制品牌:LIMIT_BRAND
	
	private String		brandType;					// 品牌类型
	
	private String		catType;					// 品类类型
	
	private String		sku;						// SKU
	
	private Short		isBrandJoin;				// 品牌类型是否参与,1是,0否
	
	private Short		isCatJoin;					// 品类类型是否参与,1是,0否
	
	private Short		isSkuJoin;					// SKU是否参与,1是,0否,2不限制
	
	private Short		isLimitBuyNum;				// 是否限购数量,1是,0否
	
	private Short		isLimitBuyMoney;			// 是否限购金额,1是,0否
	
	private BigDecimal	numTop;						// 个数上限
	
	private BigDecimal	numDown;					// 个数下限
	
	private BigDecimal	amountTop;					// 金额上限
	
	private BigDecimal	amountDown;					// 金额下限
	
	private Short		isStopOtherRule;			// 是否停用其他规则,1是,0否
	
	private Short		isStopPrivilege;			// 是否停用优惠券,1是,0否
	
	private Integer		joinNum;					// 参与次数
	
	private Short		isOverlay;					// 是否叠加,1是,0否
	
	private BigDecimal	giveNum;					// 赠送个数/次数
	
	private String		giveTimeDot;				// 赠送时间点,PAY_SUCCESS:付款成功(货到付款审核通过),PAY_SUCCESS_NH:付款成功(货到付款不参与),ORDER_COMPLETE:订单完成
	
	private String		giveCode;					// 赠送编号,多个用英文逗号隔开
	
	private Integer		sort;						// 排序/优先级
	
	private Long		createId;					// 创建者
	
	private Long		updateId;					// 更新者
	
	private Long		sysId;						// 系统ID
	
	private BigDecimal	singleMostNum;				// 单次最多几个/次
	
	private String		freeShippingType;			// 免邮的类型
	
	private String		freeShippingPayType;		// 免邮的支付方式
	
	private String		freeShippingExpressCode;	// 免邮的快递方式
	
	private String		status;						// 状态
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "ID--修改时必传")
	public Long getId() {
		return this.id;
	}
	
	public void setShowName(String showName) {
		this.showName = showName;
	}
	
	@ApiModelProperty(value = "规则名称", required = true)
	public String getShowName() {
		return this.showName;
	}
	
	public void setShowType(String showType) {
		this.showType = showType;
	}
	
	@ApiModelProperty(value = "促销类型  --减金额：SUB_AMOUNT，送积分：GIVE_INTEGRAL，送充值余额：GIVE_TOPUP_BALANCE，送红包：GIVE_RED_PACKET，送商品：GIVE_PRO ,免邮 FREE_POSTAGE， 送商品 GIVE_DRAW_NUM", required = true)
	public String getShowType() {
		return this.showType;
	}
	
	//
	
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	
	@ApiModelProperty(value = "减金额--优惠金额，必传|")
	public BigDecimal getAmount() {
		return this.amount;
	}
	
	public void setDevice(String device) {
		this.device = device;
	}
	
	@ApiModelProperty(value = "平台限制  PC,WAP,PC&WAP", required = true)
	public String getDevice() {
		return this.device;
	}
	
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	
	@ApiModelProperty(value = "有效期--开始时间", required = true)
	public String getStartTime() {
		return this.startTime;
	}
	
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	@ApiModelProperty(value = "有效期--结束时间", required = true)
	public String getEndTime() {
		return this.endTime;
	}
	
	public void setLimitMemberLevel(String limitMemberLevel) {
		this.limitMemberLevel = limitMemberLevel;
	}
	
	@ApiModelProperty(value = "限制会员等级", required = true)
	public String getLimitMemberLevel() {
		return this.limitMemberLevel;
	}
	
	public void setProTypeLimit(String proTypeLimit) {
		this.proTypeLimit = proTypeLimit;
	}
	
	@ApiModelProperty(value = "商品类型限制,不限制：NO_LIMIT,限制商品:LIMIT_PRO", required = true)
	public String getProTypeLimit() {
		return this.proTypeLimit;
	}
	
	public void setBrandType(String brandType) {
		this.brandType = brandType;
	}
	
	@ApiModelProperty(value = "品牌类型")
	public String getBrandType() {
		return this.brandType;
	}
	
	public void setCatType(String catType) {
		this.catType = catType;
	}
	
	@ApiModelProperty(value = "品类类型")
	public String getCatType() {
		return this.catType;
	}
	
	public void setSku(String sku) {
		this.sku = sku;
	}
	
	@ApiModelProperty(value = "sku")
	public String getSku() {
		return this.sku;
	}
	
	public void setIsBrandJoin(Short isBrandJoin) {
		this.isBrandJoin = isBrandJoin;
	}
	
	@ApiModelProperty(value = "品牌类型是否参与,1是,0否")
	public Short getIsBrandJoin() {
		return this.isBrandJoin;
	}
	
	public void setIsCatJoin(Short isCatJoin) {
		this.isCatJoin = isCatJoin;
	}
	
	@ApiModelProperty(value = "品类类型是否参与,1是,0否")
	public Short getIsCatJoin() {
		return this.isCatJoin;
	}
	
	public void setIsSkuJoin(Short isSkuJoin) {
		this.isSkuJoin = isSkuJoin;
	}
	
	@ApiModelProperty(value = "SKU是否参与,1是,0否,2不限制")
	public Short getIsSkuJoin() {
		return this.isSkuJoin;
	}
	
	public void setNumTop(BigDecimal numTop) {
		this.numTop = numTop;
	}
	
	@ApiModelProperty(value = "个数上限")
	public BigDecimal getNumTop() {
		return this.numTop;
	}
	
	public void setNumDown(BigDecimal numDown) {
		this.numDown = numDown;
	}
	
	@ApiModelProperty(value = "个数下限")
	public BigDecimal getNumDown() {
		return this.numDown;
	}
	
	public void setAmountTop(BigDecimal amountTop) {
		this.amountTop = amountTop;
	}
	
	@ApiModelProperty(value = "金额上限")
	public BigDecimal getAmountTop() {
		return this.amountTop;
	}
	
	public void setAmountDown(BigDecimal amountDown) {
		this.amountDown = amountDown;
	}
	
	@ApiModelProperty(value = "金额下限")
	public BigDecimal getAmountDown() {
		return this.amountDown;
	}
	
	public void setIsStopOtherRule(Short isStopOtherRule) {
		this.isStopOtherRule = isStopOtherRule;
	}
	
	@ApiModelProperty(value = "是否停用其他规则,1是,0否", required = true)
	public Short getIsStopOtherRule() {
		return this.isStopOtherRule;
	}
	
	public void setIsStopPrivilege(Short isStopPrivilege) {
		this.isStopPrivilege = isStopPrivilege;
	}
	
	@ApiModelProperty(value = "是否停用优惠券,1是,0否", required = true)
	public Short getIsStopPrivilege() {
		return this.isStopPrivilege;
	}
	
	public void setJoinNum(Integer joinNum) {
		this.joinNum = joinNum;
	}
	
	@ApiModelProperty(value = "每个客户参与次数")
	public Integer getJoinNum() {
		return this.joinNum;
	}
	
	public void setIsOverlay(Short isOverlay) {
		this.isOverlay = isOverlay;
	}
	
	@ApiModelProperty(value = "是否叠加,1是,0否")
	public Short getIsOverlay() {
		return this.isOverlay;
	}
	
	public void setGiveNum(BigDecimal giveNum) {
		this.giveNum = giveNum;
	}
	
	@ApiModelProperty(value = "赠送个数,次数|送积分或充值，抽奖次数，送商品的个数，红包的个数，的时候传这个")
	public BigDecimal getGiveNum() {
		return this.giveNum;
	}
	
	public void setGiveTimeDot(String giveTimeDot) {
		this.giveTimeDot = giveTimeDot;
	}
	
	@ApiModelProperty(value = "赠送时间点,PAY_SUCCESS:付款成功(货到付款审核通过),PAY_SUCCESS_NH:付款成功(货到付款不参与),ORDER_COMPLETE:订单完成")
	public String getGiveTimeDot() {
		return this.giveTimeDot;
	}
	
	public void setGiveCode(String giveCode) {
		this.giveCode = giveCode;
	}
	
	@ApiModelProperty(value = "赠送编号,多个用英文逗号隔开")
	public String getGiveCode() {
		return this.giveCode;
	}
	
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	@ApiModelProperty(value = "优先级，数值越小  优先级越高", required = true)
	public Integer getSort() {
		return this.sort;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建人Id--新增必传")
	public Long getCreateId() {
		return this.createId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "更新人Id--修改必传")
	public Long getUpdateId() {
		return this.updateId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "系统Id", required = true)
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setSingleMostNum(BigDecimal singleMostNum) {
		this.singleMostNum = singleMostNum;
	}
	
	@ApiModelProperty(value = "单次最多几个/次")
	public BigDecimal getSingleMostNum() {
		return this.singleMostNum;
	}
	
	@ApiModelProperty(value = "购买条件--购买商品数量  1是 0不是", required = true)
	public Short getIsLimitBuyNum() {
		return isLimitBuyNum;
	}
	
	public void setIsLimitBuyNum(Short isLimitBuyNum) {
		this.isLimitBuyNum = isLimitBuyNum;
	}
	
	@ApiModelProperty(value = "购买条件--购买金额  1 是  0不是", required = true)
	public Short getIsLimitBuyMoney() {
		return isLimitBuyMoney;
	}
	
	public void setIsLimitBuyMoney(Short isLimitBuyMoney) {
		this.isLimitBuyMoney = isLimitBuyMoney;
	}
	
	@ApiModelProperty(value = "免邮的类型--符合规则商品 FREE_SHIPPING_PRODUCT，，整个订单 FREE_SHIPPING_ORDER    促销类型为免邮费必传")
	public String getFreeShippingType() {
		return freeShippingType;
	}
	
	public void setFreeShippingType(String freeShippingType) {
		this.freeShippingType = freeShippingType;
	}
	
	@ApiModelProperty(value = "免邮的支付类型，免邮费必传")
	public String getFreeShippingPayType() {
		return freeShippingPayType;
	}
	
	public void setFreeShippingPayType(String freeShippingPayType) {
		this.freeShippingPayType = freeShippingPayType;
	}
	
	@ApiModelProperty(value = "免邮的快递方式，免邮费必传")
	public String getFreeShippingExpressCode() {
		return freeShippingExpressCode;
	}
	
	public void setFreeShippingExpressCode(String freeShippingExpressCode) {
		this.freeShippingExpressCode = freeShippingExpressCode;
	}
	
	@ApiModelProperty(value = "规则状态--展示用 NOT_ACTIVATE:未激活,ALR_ENABLE:已启用,ALR_DISABLE:已禁用")
	public String getStatus() {
		return status;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
	
}
